package com.itcam.cm.manager.mapper;

import com.itcam.cm.model.entity.product.Category;
import com.itcam.cm.model.vo.product.CategoryExcelVo;

import java.util.List;

public interface CategoryMapper {
    List<Category> selectByParentId(Long parentId);

    Long countChildren(Long id);

    void batchInsert(List<CategoryExcelVo> categoryExcelVos);

    List<Category> selectAll();
}
